from sklearn.ensemble import RandomForestRegressor

my_model = RandomForestRegressor(n_estimators=100, criterion='absolute_error', random_state=0)  # Your code here

# Fit the model to the training data
# my_model.fit(X, y)

# Generate test predictions
# preds_test = my_model.predict(X_test)

# Save predictions in format used for competition scoring
# output = pd.DataFrame({'Id': X_test.index,
#                        'SalePrice': preds_test})
# output.to_csv('submission.csv', index=False)
